<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>修改地址</title>
    <link rel="stylesheet" href="css/iconfont.css">
    <link rel="stylesheet" href="css/public.css">
    <link rel="stylesheet" href="css/style.css">
    <script src="js/jquery-1.8.0.min.js"></script>
    <script src="js/mask_out.js"></script>
    <script src="js/layer/layer.js"></script>
</head>
<body>
<div class="index_top clear">
    <a href="javascript:;" onclick="history.go(-1)" class="l Return"><i class="iconfont icon-iconfontfanhui"></i></a>
</div>
<div class="main">
    <div class="add_url">
        <form action="">
            <div class="top">
                <label for=""><span>收货人</span><input type="text" placeholder="请输入您的姓名"></label>
                <label for="">
                    <span>手机号</span><input type="tel" placeholder="请输入您的手机号" maxlength="11">
                </label>
                <label for="">
                    <span>所在地区</span>
                    <input type="text" placeholder="请选择"  class="liubai" id="city_select">
                    <i class="iconfont icon-zuoyoujiantou2"></i>
                </label>
                <label for="">
                    <textarea name="" id="" cols="30" rows="10" placeholder="请填写详细街道楼牌号地址"></textarea>
                </label>
            </div>
            <div class="setting">
                <span>设为默认</span>
                <i class="iconfont icon-Switch1 "></i>
                <i class="iconfont icon-Switch2 hide"></i>
            </div>
            <div class="delete">
                <a href="javascript:;">删除地址</a>
            </div>
            <button>保存并使用</button>
        </form>
    </div>
</div>
<link rel="stylesheet" href="css/weui2.css">
<script type="text/javascript" src="js/zepto.min.js"></script>
<script type="text/javascript" src="js/picker.js"></script>
<script type="text/javascript" src="js/picker-city.js"></script>
<script type="text/javascript">
        (function () {
            $("#city_select").cityPicker({
                title: "选择省市县"
            });
        // 删除添加地址
        $(".delete a").click(function () {
            Establish_delete_url("温馨提示","是否确定删除该地址？","取消","确定","基本信息-收货地址.html");
        });
        $("body").on("click",".Position_close",function () {
            $(".delete_url").hide();
        });
        $("body").on("click",".b1",function () {
            $(".delete_url").hide();
        });
        // 删除添加地址
        $(function () {
            $('.icon-Switch1').click(function () {
                $(this).hide();
                $('.icon-Switch2').show();
            });
            $('.icon-Switch2').click(function () {
                $(this).hide();
                $('.icon-Switch1').show();
            });
        })
    })(jQuery)
</script>
</body>
</html>